Up/Down Volume with Table (High Contrast)Up/Down Volume with Table (High Contrast) — Script Summary & User Guide
Purpose of the Script
This TradingView indicator, Up/Down Volume with Table (High Contrast), visually separates and quantifies up-volume and down-volume for each bar, providing both a color-coded histogram and a dynamic table summarizing the last five bars. The indicator helps traders quickly assess buying and selling pressure, recent volume shifts, and their relationship to price changes, all in a highly readable format.
Key Features
Up/Down Volume Columns:
Green columns represent volume on bars where price closed higher than the previous bar (up volume).
Red columns represent volume on bars where price closed lower than the previous bar (down volume).
Delta Line:
Plots the net difference between up and down volume for each bar.
Green when up-volume exceeds down-volume; red when down-volume dominates.
Interactive Table:
Displays the last five bars, showing up-volume, down-volume, delta, and close price.
Color-coding for quick interpretation.
Table position, decimal places, and timeframe are all user-configurable.
Custom Timeframe Support:
Calculate all values on the chart’s timeframe or a custom timeframe of your choice (e.g., daily, hourly).
High-Contrast Design:
Table and plot colors are chosen for maximum clarity and accessibility.
User Inputs & Configuration
Use custom timeframe:
Toggle between the chart’s timeframe and a user-specified timeframe.
Custom timeframe:
Set the timeframe for calculations if custom mode is enabled (e.g., "D" for daily, "60" for 60 minutes).
Decimal Places:
Choose how many decimal places to display in the table.
Table Location:
Select where the table appears on your chart (e.g., Bottom Right, Top Left, etc.).
How to Use
Add the Script to Your Chart:
Copy and paste the code into a new Pine Script indicator on TradingView.
Add the indicator to your chart.
Configure Inputs:
Open the indicator settings.
Adjust the timeframe, decimal places, and table location as desired.
Read the Table:
The table appears on your chart (location is user-selectable) and displays the following for the last five bars:
Bar: "Now" for the current bar, then "Bar -1", "Bar -2", etc. for previous bars.
Up Vol: Volume on bars where price closed higher than previous bar, shown in black text.
Down Vol: Volume on bars where price closed lower than previous bar, shown in black text.
Delta: Up Vol minus Down Vol, colored green for positive, red for negative, black for zero.
Close: Closing price for each bar, colored green if price increased from previous bar, red if decreased, black if unchanged.
Interpret the Histogram and Lines:
Green Columns:
Represent up-volume. Tall columns indicate strong buying volume.
Red Columns:
Represent down-volume. Tall columns indicate strong selling volume.
Delta Line:
Plotted as a line (not a column), colored green for positive values (more up-volume), red for negative (more down-volume).
Large positive or negative spikes may indicate strong buying or selling pressure, respectively.
How to Interpret the Table
Column Meaning Color Coding
Bar "Now" (current bar), "Bar -1" (previous bar), etc. Black text
Up Vol Volume for bars with higher closes than previous bar Black text
Down Vol Volume for bars with lower closes than previous bar Black text
Delta Up Vol - Down Vol. Green if positive, red if negative, black if zero Green/Red/Black
Close Closing price for the bar. Green if price increased, red if decreased, black if unchanged Green/Red/Black
Green Delta: Indicates net buying pressure for that bar.
Red Delta: Indicates net selling pressure for that bar.
Close Price Color:
Green: Price increased from previous bar.
Red: Price decreased.
Black: No change.
Practical Trading Insights
Consistently Green Delta (Histogram & Table):
Sustained buying pressure; may indicate bullish sentiment or accumulation.
Consistently Red Delta:
Sustained selling pressure; may indicate bearish sentiment or distribution.
Large Up/Down Volume Spikes:
Big green or red columns can signal strong market activity or potential reversals if they occur at trend extremes.
Delta Flipping Colors:
Rapid alternation between green and red deltas may indicate a choppy or indecisive market.
Close Price Color in Table:
Use as a quick confirmation of whether volume surges are pushing price in the expected direction.
Troubleshooting & Notes
No Volume Data Error:
If your symbol doesn’t provide volume data (e.g., some indices or synthetic assets), the script will display an error.
Custom Timeframe:
If using a custom timeframe, ensure your chart supports it and that there is enough data for meaningful calculations.
High-Contrast Table:
Designed for clarity and accessibility, but you can adjust colors in the code if needed for your personal preferences.
Summary Table Legend
Bar Up Vol Down Vol Delta Close
Now ... ... ... ...
Bar-1 ... ... ... ...
... ... ... ... ...
Colors reflect the meaning as described above.
In Summary
This indicator visually and numerically breaks down buying and selling volume, helping you spot shifts in market sentiment, volume surges, and price/volume divergences at a glance.
Use the table for precise recent data, the histogram for overall flow, and the color cues for instant market context.
Cari dalam skrip untuk " TABLE "
Cobra's CryptoMarket VisualizerCobra's Crypto Market Screener is designed to provide a comprehensive overview of the top 40 marketcap cryptocurrencies in a table\heatmap format. This indicator incorporates essential metrics such as Beta, Alpha, Sharpe Ratio, Sortino Ratio, Omega Ratio, Z-Score, and Average Daily Range (ADR). The table utilizes cell coloring resembling a heatmap, allowing for quick visual analysis and comparison of multiple cryptocurrencies.
The indicator also includes a shortened explanation tooltip of each metric when hovering over it's respected cell. I shall elaborate on each here for anyone interested.
Metric Descriptions:
1. Beta: measures the sensitivity of an asset's returns to the overall market returns. It indicates how much the asset's price is likely to move in relation to a benchmark index. A beta of 1 suggests the asset moves in line with the market, while a beta greater than 1 implies the asset is more volatile, and a beta less than 1 suggests lower volatility.
2. Alpha: is a measure of the excess return generated by an investment compared to its expected return, given its risk (as indicated by its beta). It assesses the performance of an investment after adjusting for market risk. Positive alpha indicates outperformance, while negative alpha suggests underperformance.
3. Sharpe Ratio: measures the risk-adjusted return of an investment or portfolio. It evaluates the excess return earned per unit of risk taken. A higher Sharpe ratio indicates better risk-adjusted performance, as it reflects a higher return for each unit of volatility or risk.
4. Sortino Ratio: is a risk-adjusted measure similar to the Sharpe ratio but focuses only on downside risk. It considers the excess return per unit of downside volatility. The Sortino ratio emphasizes the risk associated with below-target returns and is particularly useful for assessing investments with asymmetric risk profiles.
5. Omega Ratio: measures the ratio of the cumulative average positive returns to the cumulative average negative returns. It assesses the reward-to-risk ratio by considering both upside and downside performance. A higher Omega ratio indicates a higher reward relative to the risk taken.
6. Z-Score: is a statistical measure that represents the number of standard deviations a data point is from the mean of a dataset. In finance, the Z-score is commonly used to assess the financial health or risk of a company. It quantifies the distance of a company's financial ratios from the average and provides insight into its relative position.
7. Average Daily Range: ADR represents the average range of price movement of an asset during a trading day. It measures the average difference between the high and low prices over a specific period. Traders use ADR to gauge the potential price range within which an asset might fluctuate during a typical trading session.
Utility:
Comprehensive Overview: The indicator allows for monitoring up to 40 cryptocurrencies simultaneously, providing a consolidated view of essential metrics in a single table.
Efficient Comparison: The heatmap-like coloring of the cells enables easy visual comparison of different cryptocurrencies, helping identify relative strengths and weaknesses.
Risk Assessment: Metrics such as Beta, Alpha, Sharpe Ratio, Sortino Ratio, and Omega Ratio offer insights into the risk associated with each cryptocurrency, aiding risk assessment and portfolio management decisions.
Performance Evaluation: The Alpha, Sharpe Ratio, and Sortino Ratio provide measures of a cryptocurrency's performance adjusted for risk. This helps assess investment performance over time and across different assets.
Market Analysis: By considering the Z-Score and Average Daily Range (ADR), traders can evaluate the financial health and potential price volatility of cryptocurrencies, aiding in trade selection and risk management.
Features:
Reference period optimization, alpha and ADR in particular
Source calculation
Table sizing and positioning options to fit the user's screen size.
Tooltips
Important Notes -
1. The Sharpe, Sortino and Omega ratios cell coloring threshold might be subjective, I did the best I can to gauge the median value of each to provide more accurate coloring sentiment, it may change in the future.
The median values are : Sharpe -1, Sortino - 1.5, Omega - 20.
2. Limitations - Some cryptos have a Z-Score value of NaN due to their short lifetime, I tried to overcome this issue as with the rest of the metrics as best I can. Moreover, it limits the time horizon for replay mode to somewhere around Q3 of 2021 and that's with using the split option of the top half, to remain with the older cryptos.
3. For the beginner Pine enthusiasts, I recommend scimming through the script as it serves as a prime example of using key features, to name a few : Arrays, User Defined Functions, User Defined Types, For loops, Switches and Tables.
4. Beta and Alpha's benchmark instrument is BTC, due to cryptos volatility I saw no reason to use SPY or any other asset for that matter.
RainDrop PanelHi everyone,
This script shows the Dashboard in a Table. Table.new() is a new feature and released today! Big thanks to Pine Team for adding this great new feature!
This new feature changes the rules of the game! The script shows 3 different time period indicator values for the icon and changes the background color of each cell using the current and last values of the indicators for the icon. The background color is green if the current value is greater than the last value, red if it is less than the last value, and gray if it is equal. You can select the time periods and Indicators to be displayed. You can also change the position, font sizes, title and text colors of the relevant panel on the graphic. The number of columns in the table is dynamic and changes according to the number of indicators. You can choose 1 Symbol, 3 different timeframes, 6 Indicators and 4 Simple or Exponential Moving Averages, specify the type and length of moving averages. You can also set the lengths for each Indicator. Indicators: - RSI – MACD - DMI (+DI and -DI + and ADX) - CCI - MFI - Push - EMA Length 20 (length adjustable) - EMA Length 50 (length adjustable) EMA Length 100 (length adjustable) - EMA Length 200 (length adjustable)
Chart Plotter & Scanner Table V1Script Summary: "Chart Plotter & Scanner Table V1"
This TradingView indicator is designed to give you a comprehensive analysis of the single stock, crypto, or asset currently displayed on your chart. It does this in two main ways:
Visual Signals on the Chart: It draws helpful information directly onto your price chart:
Trend Lines: Plots two moving average lines (one short-term, one long-term) to help you visualize the current price trend.
Buy/Sell Markers ("SIG NOW"): Shows triangle markers below the price (green for potential Buy) or above the price (red for potential Sell) when specific conditions related to price trend and momentum (RSI) are met.
Volume Activity Markers ("ALERT"): Displays small labels ("S" for Spike, "D" for Dump) when the trading volume is unusually high or low compared to its recent average, indicating potentially significant market activity.
Long-Term Signal Markers ("LTS"): Shows small shapes (circles, diamonds, squares) to indicate potential long-term Buy or Sell signals derived from analyzing price action on up to three different, higher timeframes (like Daily, Weekly, Monthly) that you choose.
Status Summary Table: It displays a neat table on your chart (you choose the corner) that acts like a dashboard, summarizing the key findings for the current asset:
Symbol & Price: Shows the ticker symbol and the latest price.
Price vs. Trend: Tells you if the current price is above both trend lines ("Above Both"), below both ("Below Both"), or in between ("Mixed"), with color-coding (Green/Red/Gray).
Momentum (RSI): Shows the current RSI value and its status ("Overbought", "Oversold", or "Neutral"), with color-coding (Red/Green/Gray).
Immediate Signal ("SIG NOW"): Displays the current Buy, Sell, or Neutral status based on the combined trend and momentum rules, with color-coding (Green/Red/Gray).
Volume Alert ("ALERT"): Shows if there's a volume Spike, Dump, or None, with color-coding (Orange/Purple/Gray).
Long-Term Signals (LTS): Shows the Buy, Sell, or Neutral status calculated from each of the three chosen higher timeframes, including the price at which the signal occurred on that timeframe, with color-coding (Green/Red/Gray).
Essentially, this script combines short-term trend and momentum analysis with volume activity monitoring and longer-term perspective signals, presenting the information clearly on your chart and in a summary table for quick assessment. It also allows you to create TradingView alerts based on these signals.
How to Adjust the Script Settings
You can customize how this script works through its "Settings" panel in TradingView. Here’s a breakdown of each section:
1. Indicator Settings (Chart Timeframe)
These settings control the main calculations done on your current chart's timeframe.
MA Source: Choose which price point (Close, Open, High, Low, etc.) the moving averages should be based on. (Default: Close)
Short MA Period: Set the number of bars for the shorter-term moving average. A smaller number makes it react faster to price changes. (Default: 20)
Long MA Period: Set the number of bars for the longer-term moving average. A larger number shows a smoother, longer-term trend. (Default: 50)
RSI Source: Choose which price point the RSI momentum calculation should use. (Default: Close)
RSI Period: Set the number of bars for the RSI calculation. (Default: 14)
RSI Overbought Level: The RSI level above which the asset is considered potentially "Overbought". (Default: 70)
RSI Oversold Level: The RSI level below which the asset is considered potentially "Oversold". (Default: 30)
SIG NOW RSI Buy Min: The minimum RSI value required (along with price being above MAs) to trigger a "SIG NOW" Buy signal. (Default: 55)
SIG NOW RSI Sell Max: The maximum RSI value required (along with price being below MAs) to trigger a "SIG NOW" Sell signal. (Default: 45)
Volume Lookback (LBV): How many bars to look back to calculate the average volume for the Spike/Dump alerts. (Default: 3)
Volume MA Type: The type of averaging method used for the volume calculation (EMA is generally preferred for responsiveness). (Default: EMA)
2. Volume Alert Settings
These control how sensitive the Volume Spike/Dump alerts are.
Volume Alert Sensitivity: Choose a preset sensitivity level:
"Normal": Standard thresholds for spike/dump detection.
"Sensitive": Requires less deviation from the average volume to trigger an alert.
"Highly Sensitive": Triggers alerts on even smaller volume deviations.
"Custom": Ignores the presets and uses the manual multipliers below.
Custom Spike Multiplier (>1): (Only used if Sensitivity is "Custom") How many times greater than the average volume the current volume must be to trigger a SPIKE. (e.g., 1.5 means 50% higher).
Custom Dump Multiplier (<1): (Only used if Sensitivity is "Custom") How many times smaller than the average volume the current volume must be to trigger a DUMP. (e.g., 0.7 means 30% lower).
3. Long Term Signal (LTS) Settings
These settings control the calculations for the three independent Long-Term Signals, which look at higher timeframes.
LTS Timeframe 1/2/3: Select the higher timeframes (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly) for each of the three LTS calculations.
LTS BB Source: The price source used for the Bollinger Band calculation on the LTS timeframes. (Default: Close)
LTS BB Length: The period (number of bars on the LTS timeframe) used for the Bollinger Band calculation. (Default: 20)
LTS BB StdDev: The standard deviation multiplier for the Bollinger Bands used in the LTS calculation. (Default: 2.0)
4. Plotting Settings
These control what is visually displayed on the price chart itself.
Plot MAs?: Checkbox to show or hide the two moving average lines.
Plot SIG NOW Markers?: Checkbox to show or hide the green/red triangle Buy/Sell markers.
Plot ALERT Markers?: Checkbox to show or hide the "S" / "D" volume Spike/Dump labels.
Plot LTS Markers?: Checkbox to show or hide the long-term signal markers (circles, diamonds, squares).
Plot LTS Markers For: Dropdown to choose whether to show markers for only LTS TF1, TF2, TF3, or "All" of them.
5. Table Settings
These control the appearance and content of the summary table.
Show Status Table?: Checkbox to show or hide the entire summary table.
Table Position: Choose which corner or side of the chart the table should appear on.
Decimal Places (Non-Price): How many decimal places to show for values like the RSI number in the table.
Table Text Size: Adjust the font size inside the table cells.
Setting Up Alerts:
This script creates the conditions for alerts. To actually receive notifications:
Click the "Alert" button (clock icon) in TradingView's top toolbar or right-click on the chart.
In the "Condition" dropdown, select the script name ("Chart Plotter & Scanner Table V1").
You will see a list of available alert conditions created by the script (e.g., "SIG NOW Buy Alert", "RSI Overbought Alert", "LTS TF1 Buy Alert", etc.). Choose the one you want.
Configure the rest of the alert settings (Options, Actions, Message) as desired.
Click "Create". Repeat for any other signals you want alerts for.
By adjusting these settings, you can fine-tune the indicator to match your trading style, the specific asset you are analyzing, and the timeframes you are interested in.
Notional Trade Table
Notional Trade Table indicator displays notional trade values for given Buy and Sell of given input of Symbol, Quantity, Entry Price and Stop Loss .
Sections of Input Menu Table are supported with Tool Tip icons.
Input Symbols:
(Refer Input Menu)
User can choose maximum 20 Symbols.
Input Side Choice (BUY/SELL):
(Refer Input Menu)
After choosing Symbol, User has to choose the BUY or SELL option for each Symbol against the corresponding Sybol number. If NIL is selected “Nil is selected ” message is displayed prompting the user to select BUY or SELL sides.
For example in the above Input Menu:
Sym1 is BATS:AAPL. Corresponding Side 1 is Sell1.
Sym2 is BATS:NVDA Corresponding Side 2 Sell 2.
Sym12 is BATS:NFLX. Corresponding Side 12 is Buy12 and so on.
Input Quantity:
(Refer Input Menu)
Next enter Corresponding Quantity of BUY or SELL in relevant Quantity Input Box. Quantity cannot be Zero. Defval is 1.
For Sym1 input in Qty 1 box,for Sym2 input in Qty 2 box and so on.
Input Entry Price:
(Refer Input Menu)
After entering Quantity Input Entry Price for Corresponding Symbol.
Input for Sym1 Entry Price in EP1 box
Input for Sym2 Entry Price in EP2 box
and so on.
Input Stop Loss:
(Refer Input Menu)
Next Enter corresponding Stop Loss for each Symbol.
SL1 input box denotes Sym1 Stop Loss.
SL2 input box denotes Sym2 Stop Loss.
SL3 input box denotes Sym3 Stop Loss and so on.
Stop Loss for Chosen BUY side should be below corresponding Entry Price/Last Price. Otherwise a message is displayed “SL Hit”. User has to enter valid data.
Stop Loss for Chosen SELL side should be above corresponding Entry Price/Last Price. Otherwise a message is displayed “SL Hit”. User has to enter valid data.
Notional Trade Table:
(Refer the Table on Chart)
From the input menu filled by User script captures the Symbol, BUY/SELL options, Quantity,
Entry Price and Stop Loss details under the corresponding heads in the Notional Trade Table.
The script captures the live Last traded Price under the head LP and calculates and displays corresponding Profit or Loss under PR/LO column in the table.
SL+- LP is the difference between Last traded Price (LP) and Stop Loss Price. Positive figure under this head reflects Stop Loss cushion available .
Nil header column reflects message “NIL selected” prompting the User to select BUY or SELL sides.
SLH header displays “SL Hit” on Stop Loss Hit or wrong input of Stop Loss inconsistent with BUY or SELL sides of Trade. On “SL Hit” message all values in corresponding Symbol becomes Zero. User has to re-enter the details fresh .
On the top left side corner of the table there are 2 cells with Prono and Lono.They denote the number of trades which are in Profit (Prono) and which are in Loss(Lono).
It is preferable to choose Symbols from a single country exchange commensurate with the Time zone. Otherwise if Exchange and Chart time Zone differs there is risk of data loss in the table.
DISCLAIMER: For educational and entertainment purpose only .Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security/ies or investment/s.
Crypto Daily WatchList And Screener [M]
Hi, this is a watchlist and screener indicator designed for traders in the field of cryptocurrencies who want to monitor developments in other currency pairs and indices.
The indicator consists of two tables. One of them is the table containing indices such as BTC dominance, total, total2, which allows you to track market developments and changes. In this table, you will find price information, daily change, stochastic, and trend information.
The other table includes cryptocurrencies like BTC/USDT, ETH/USDT, DOT/USDT, and more. In this table, you will see real-time prices, daily volume, daily change, stochastic, the correlation coefficient between the pair and Bitcoin, and the trend value calculated based on MACD.
The "Customize" section in the settings enables you to personalize the appearance of the tables according to your preferences.
1A Monthly P&L Table - Using Library1A Monthly P&L Table: Track Your Performance Month-by-Month
Overview:
The 1A Monthly P&L Table is a straightforward yet powerful indicator designed to give you an immediate overview of your asset's (or strategy's) percentage performance on a monthly basis. Displayed conveniently in the bottom-right corner of your chart, this tool helps you quickly assess historical gains and losses, making it easier to analyze trends in performance over time.
Key Features:
Monthly Performance at a Glance: Clearly see the percentage change for each past month.
Cumulative P&L: A running total of the displayed monthly P&L is provided, giving you a quick sum of performance over the selected period.
Customizable Display:
Months to Display: Choose how many past months you want to see in the table (from 1 to 60 months).
Text Size: Adjust the text size (Tiny, Small, Normal, Large, Huge) to fit your viewing preferences.
Text Color: Customize the color of the text for better visibility against your chart background.
Intraday & Daily Compatibility: The table is optimized to display on daily and intraday timeframes, ensuring it's relevant for various trading styles. (Note: For very long-term analysis on weekly/monthly charts, you might consider other tools, as this focuses on granular monthly P&L.)
How It Works:
The indicator calculates the percentage change from the close of the previous month to the close of the current month. For the very first month displayed, it calculates the P&L from the opening price of the chart's first bar to the close of that month. This data is then neatly organized into a table, updated on the last bar of the day or session.
Ideal For:
Traders and investors who want a quick, visual summary of monthly performance.
Analyzing seasonal trends or consistent periods of profitability/drawdown.
Supplementing backtesting results with a clear month-by-month breakdown.
Settings:
Text Color: Changes the color of all text within the table.
Text Size: Controls the font size of the table content.
Months to Display: Determines the number of recent months included in the table.
Shaktiman [DSS_Rajput]I'm a Momentum Trader, following the Indian markets, Mark Minervini and William O'Neil follower.
User Settings
Inputs tab
EMA option for Table - It compares the current price of the symbol to its key EMA's and calculates the rate of return to make it easier to track the performance of the symbol. It Helps you to identify how far the price is from its Key EMA's
ADDITIONAL TABLE DATA - It will allow you to use multiple performance data sets with your set of customizable inputs (You can change periods as per your requirements)
Show Inside Bar (IB): Allows you to add Inside Bar on your chart
Show NR4 (Narrow Range): Allows you to add an NR4 bar on your chart
Show INR7(Narrow Range): Allows you to add NR7 Bar on your chart
Distance_From_EMA_Table: Allows you to enable/disable the price difference with its key EMA's table.
ROC_Table: It compares the current price of the symbol to its past price and calculates the rate of return to make it easier to track the performance of the symbol.
Note that the Performance sidebar is not updated in real-time, while this indicator is, so on real-time charts.
The formula of the calculation is (Current value - Past value) * 100 / Past value, where Past value is: 1W, 1M, 3M, 6M, 1Y
Momentum_Table: It compares the current price of the symbol to its past lowest price of that period and calculates the %Gain of the symbol from the low of that period
Power_Play_Candidate: It will show the power play candidate, similar to IBD, It merely qualifies for Power_Play.
You need to wait for the Right Entry point. It will give you 8 Week Range.
According to IBD, it should move 100%+ in less than 8 weeks. You can modify your criteria by changing the percentage gain.
U/D Ratio: IBD defines the U/D ratio as "A 50-day ratio that is derived by dividing total volume on up days by the total volume on down days.
A ratio greater than 1.0 implies positive demand for a stock"
UpVol criteria: close>open and vice versa for DownVol
Rvol (Relative Vol): Percentage volume change (compared to daily average volume)
ADR : It allows you to add the Average Daily Range to the table.
Show 50D Avg. Vol & Avg. Vol rupee: It allows you to add 50-Day Avg. Vol and 50-Day Avg. Vol rupee.
Show_Bull_Snort: Allows you to add bull snort to your chart and style the bar.
Bull Snort is the work of Oliver Kell. For more info about Oliver kell, check youtube videos of Oliver Kell.
Normal Moving Average: Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Fixed Moving Average : Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. Let's say you applied Fixed Daily 20MA, on the intraday chart.
It will not change its value and It will give you much more clarity that, from where the price is bouncing from 20MA. Explore it (You will definitely love it!)
Fixed Moving Average : Plot 2 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. (It's like Plotting 10 Week Line on Daily Chart & Intraday Charts)
Numbers of weeks to show High & Low: It will add data to the tables and also add 52 weeks of High & Low lines on the charts.
(Number of weeks is customizable, you can change as per your requirements.)
Style tab
You can modify the style and color of any of the inputs except table color.
Conclusion
If you like this script, click on Add to favorite indicators, so that you can easily add this indicator from your favorites tab right away.
Hope you find this useful. Please leave any questions you have in the comment section and I'll be happy to answer them.
Thanks!
Chart-Only Scanner — Pro Table v2.5.1Chart-Only Scanner — Pro Table v2.5
User Manual (Pine Script v6)
What this tool does (in one line)
A compact, on-chart table that scores the current chart symbol (or an optional override) using momentum, volume, trend, volatility, and pattern checks—so you can quickly decide UP, DOWN, or WAIT.
Quick Start (90 seconds)
Add the indicator to any chart and timeframe (1m…1M).
Leave “Override chart symbol” = OFF to auto-use the chart’s symbol.
Choose your layout:
Row (wide horizontal strip), or Grid (title + labeled cells).
Pick a size preset (Micro, Small, Medium, Large, Mobile).
Optional: turn on “Use Higher TF (EMA 20/50)” and set HTF Multiplier (e.g., 4 ⇒ if chart is 15m, HTF is 60m).
Watch the table:
DIR (↑/↓/→), ROC%, MOM, VOL, EMA stack, HTF, REV, SCORE, ACT.
Add an alert if you want: the script fires when |SCORE| ≥ Action threshold.
What to expect
A small table appears on the chart corner you choose, updating each bar (or only at bar close if you keep default smart-update).
The ACT cell shows 🔥 (strong), 👀 (medium), or ⏳ (weak).
Panels & Settings (every option explained)
Core
Momentum Period: Lookback for rate-of-change (ROC%). Shorter = more reactive; longer = smoother.
ROC% Threshold: Minimum absolute ROC% to call direction UP (↑) or DOWN (↓); otherwise →.
Require Volume Confirmation: If ON and VOL ≤ 1.0, the SCORE is forced to 0 (prevents low-volume false positives).
Override chart symbol + Custom symbol: By default, the indicator uses the chart’s symbol. Turn this ON to lock to a specific ticker (e.g., a perpetual).
Higher TF
Use Higher TF (EMA 20/50): Compares EMA20 vs EMA50 on a higher timeframe.
HTF Multiplier: Higher TF = (chart TF × multiplier).
Example: on 3H chart with multiplier 2 ⇒ HTF = 6H.
Volatility & Oscillators
ATR Length: Used to show ATR% (ATR relative to price).
RSI Length: Standard RSI; colors: green ≤30 (oversold), red ≥70 (overbought).
Stoch %K Length: With %D = SMA(%K, 3).
MACD Fast/Slow/Signal: Standard MACD values; we display Line, Signal, Histogram (L/S/H).
ADX Length (Wilder): Wilder’s smoothing (internal derivation); also shows +DI / −DI if you enable the ADX column.
EMAs / Trend
EMA Fast/Mid/Slow: We compute EMA(20/50/200) by default (editable).
EMA Stack: Bull if Fast > Mid > Slow; Bear if Fast < Mid < Slow; Flat otherwise.
Benchmark (optional, OFF by default)
Show Relative Strength vs Benchmark: Displays RS% = ROC(symbol) − ROC(benchmark) over the Momentum Period.
Benchmark Symbol: Ticker used for comparison (e.g., BTCUSDT as a market proxy).
Columns (show/hide)
Toggle which fields appear in the table. Hiding unused fields keeps the layout clean (especially on mobile).
Display
Layout Mode:
Row = a single two-row strip; each column is a metric.
Grid = a title row plus labeled pairs (label/value) arranged in rows.
Size Preset: Micro, Small, Medium, Large, Mobile change text size and the grid density.
Table Corner: Where the panel sits (e.g., Top Right).
Opaque Table Background: ON = dark card; OFF = transparent(ish).
Update Every Bar: ON = update intra-bar; OFF = smart update (last bar / real-time / confirmed history).
Action threshold (|score|): The cutoff for 🔥 and alert firing (default 70).
How to read each field
CHART: The active symbol name (or your custom override).
DIR: ↑ (ROC% > threshold), ↓ (ROC% < −threshold), → otherwise.
ROC%: Rate of change over Momentum Period.
Formula: (Close − Close ) / Close × 100.
MOM: A scaled momentum score: min(100, |ROC%| × 10).
VOL: Volume ratio vs 20-bar SMA: Volume / SMA(Volume,20).
1.5 highlights as yellow (significant participation).
ATR%: (ATR / Close) × 100 (volatility relative to price).
RSI: Colored for extremes: ≤30 green, ≥70 red.
Stoch K/D: %K and %D numbers.
MACD L/S/H: Line, Signal, Histogram. Histogram color reflects sign (green > 0, red < 0).
ADX, +DI, −DI: Trend strength and directional components (Wilder). ADX ≥ 25 is highlighted.
EMA 20/50/200: Current EMA values (editable lengths).
STACK: Bull/Bear/Flat as defined above.
VWAP%: (Close − VWAP) / Close × 100 (premium/discount to VWAP).
HTF: ▲ if HTF EMA20 > EMA50; ▼ if <; · if flat/off.
RS%: Symbol’s ROC% − Benchmark ROC% (positive = outperforming).
REV (reversal):
🟢 Eng/Pin = bullish engulfing or bullish pin detected,
🔴 Eng/Pin = bearish engulfing or bearish pin,
· = none.
SCORE (absolute shown as a number; sign shown via DIR and ACT):
Components:
base = MOM × 0.4
volBonus = VOL > 1.5 ? 20 : VOL × 13.33
htfBonus = use_mtf ? (HTF == DIR ? 30 : HTF == 0 ? 15 : 0) : 0
trendBonus = (STACK == DIR) ? 10 : 0
macdBonus = 0 (placeholder for future versions)
scoreRaw = base + volBonus + htfBonus + trendBonus + macdBonus
SCORE = DIR ≥ 0 ? scoreRaw : −scoreRaw
If Require Volume Confirmation and VOL ≤ 1.0 ⇒ SCORE = 0.
ACT:
🔥 if |SCORE| ≥ threshold
👀 if 50 < |SCORE| < threshold
⏳ otherwise
Practical examples
Strong long (trend + participation)
DIR = ↑, ROC% = +3.2, MOM ≈ 32, VOL = 1.9, STACK = Bull, HTF = ▲, REV = 🟢
SCORE: base(12.8) + volBonus(20) + htfBonus(30) + trend(10) ≈ 73 → ACT = 🔥
Action idea: look for longs on pullbacks; confirm risk with ATR%.
Weak long (no volume)
DIR = ↑, ROC% = +1.0, but VOL = 0.8 and Require Volume Confirmation = ON
SCORE forced to 0 → ACT = ⏳
Action: wait for volume > 1.0 or turn off confirmation knowingly.
Bearish reversal warning
DIR = →, REV = 🔴 (bearish engulfing), RSI = 68, HTF = ▼
SCORE may be mid-range; ACT = 👀
Action: watch for breakdown and rising VOL.
Alerts (how to use)
The script calls alert() whenever |SCORE| ≥ Action threshold.
To receive pop-ups, sounds, or emails: click “⏰ Alerts” in TradingView, choose this indicator, and pick “Any alert() function call.”
The alert message includes: symbol, |SCORE|, DIR.
Layout, Size, and Corner tips
Row is best when you want a compact status ribbon across the top.
Grid is clearer on big screens or when you enable many columns.
Size:
Mobile = one pair per row (tall, readable)
Micro/Small = dense; good for many fields
Large = presentation/screenshots
Corner: If the table overlaps price, change the corner or set Opaque Background = OFF.
Repaint & timeframe behavior
Default smart update prefers stability (last bar / live / confirmed history).
For a stricter, “close-only” behavior (less repaint): turn Update Every Bar = OFF and avoid Heikin Ashi when you want raw market OHLC (HA modifies price inputs).
HTF logic is derived from a clean, integer multiple of your chart timeframe (via multiplier). It works with 3H/4H and any TF.
Performance notes
The script analyzes one symbol (chart or override) with multiple metrics using efficient tuple requests.
If you later want a multi-symbol grid, do it with pages (10–15 per page + rotate) to stay within platform limits (recommended future add-on).
Troubleshooting
No table visible
Ensure the indicator is added and not hidden.
Try toggling Opaque Background or switch Corner (it might be behind other drawings).
Keep Columns count reasonable for the chosen Size.
If you turned ON Override, verify the Custom symbol exists on your data provider.
Numbers look different on HA candles
Heikin Ashi modifies OHLC; switch to regular candles if you need raw price metrics.
3H/4H issues
Use integer HTF Multiplier (e.g., 2, 4). The tool builds the correct string internally; no manual timeframe strings needed.
Power user tips
Volume gating: keeping Require Volume Confirmation = ON filters most fake moves; if you’re a scalper, reduce strictness or turn it off.
Action threshold: 60–80 is typical. Higher = fewer but stronger signals.
Benchmark RS%: great for spotting leaders/laggards; positive RS% = outperformance vs benchmark.
Change policy & safety
This version doesn’t alter your historical logic you tested (no radical changes).
Any future “radical” change (score weights, HTF logic, UI hiding data) will ship with a toggle and an Impact Statement so you can keep old behavior if you prefer.
Glossary (quick)
ROC%: Percent change over N bars.
MOM: Scaled momentum (0–100).
VOL ratio: Volume vs 20-bar average.
ATR%: ATR as % of price.
ADX/DI: Trend strength / direction components (Wilder).
EMA stack: Relationship between EMAs (bullish/bearish/flat).
VWAP%: Premium/discount to VWAP.
RS%: Relative strength vs benchmark.
cc AJGB Candle Range Finder with TableOverview:
The "cc AJGB Candle Range Finder with Table" is a versatile Pine Script indicator designed to identify and visualize price ranges within the 1 minute charts based on UTC+2 Time Zone. Unlike traditional range indicators, it offers three unique calculation methods to define ranges based on minute and hour interactions, displays ranges as boxes with labeled point values, and summarizes average range sizes in a customizable table. This tool is ideal for analyzing price ranges of specific time based ranges.
Features:
Customizable Time Range: Users specify a start and end minute (0-59) to define the range period (e.g., 29th to 35th minute).
Three Calculation Methods:
Minute Only: Uses the minute of each bar to identify ranges (e.g., matches user-specified minutes).
Minute - Hour: Adjusts the minute by subtracting the hour, allowing for dynamic range detection across hourly cycles.
Minute + Hour: Combines minute and hour values for a unique range calculation, useful for specific intraday patterns.
Visual Output: Draws boxes around detected ranges, with labels showing the start/end minutes and range size in points.
Summary Table: Displays the average range size (in points) for each method, with customizable position, colors, and text size.
How It Works:
The indicator evaluates each bar’s timestamp in (UTC+2 ONLY) to match user-specified minutes using one or more selected methods. When a start minute is detected, it tracks the high and low prices until the end minute, drawing a box to highlight the range and labeling it with the range size in points. A table summarizes the average range size for each method, helping traders assess typical price movements during the specified period.
Market Analysis: Compare range sizes across different methods to understand intraday volatility patterns.
Settings Customization: Adjust colors, table position, and label sizes to suit your chart preferences.
Settings:
Range to Find: Set start and end minutes.
Range Selection: Enable/disable each method and customize colors.
Range Label Size: Choose label size (Tiny to Huge).
Table Settings: Configure table position (Top, Bottom, Left, Right), sub-position, text size, and colors.
Notes:
Only works on 1 minute charts
The indicator works best using Start Times that are lower than the End Times.
Ensure the chart is set to UTC+2 Time Zone for accurate range detection.
Why It’s Unique:
Unlike standard range indicators that focus on sessions or fixed periods, this tool allows precise minute-based range detection with three distinct calculation methods, offering flexibility for data gathering. The interactive table provides quick insights into average range sizes.
PCH & PCL Indicator with Bias and Target TablePCH & PCL Indicator with Bias and Target Table
Description:
The "PCH & PCL Indicator with Bias and Target Table" is designed to help traders identify critical price levels and understand market bias. This indicator focuses on Previous Candle High (PCH) and Previous Candle Low (PCL) to determine potential breakouts and reversals, providing valuable insights for various market conditions.
Key Features:
PCH and PCL Levels:
The indicator calculates the high and low of the previous candle to establish PCH and PCL levels, which are essential for identifying potential support and resistance zones.
These levels are visually represented on the chart through rays and labels extended to the right for easy reference.
Market Bias Detection:
The indicator evaluates market bias based on the closing price relative to PCH and PCL levels:
Bullish Bias: Triggered when the closing price exceeds the previous high.
Bearish Bias: Triggered when the closing price drops below the previous low.
Neutral Bias: Indicated when there are no significant breakouts or reversals.
Reversal Conditions:
The indicator checks for potential reversal patterns:
Reversal Up: Occurs when the low dips below the previous low, but the closing price recovers above it.
Reversal Down: Occurs when the high surpasses the previous high, but the closing price falls below it.
These conditions help traders anticipate potential trend changes.
Bias and Target Table:
A table is displayed at the bottom-right corner of the chart, summarizing the current market bias, PCH, and PCL values.
The table provides a quick and comprehensive view of the market state, aiding in prompt decision-making.
Customization:
Traders can choose to show or hide labels for PCH and PCL levels.
Label positions can be customized using X and Y offset inputs to fit individual preferences and chart setups.
How It Works:
The indicator updates the previous high and low values at the close of each candle. It then evaluates the market bias based on the relationship between the closing price and the previous high/low levels. If a breakout or reversal condition is met, the indicator updates the bias status and reflects it in the bias and target table.
Use Cases:
Trend Following: Identify and follow significant breakouts above PCH or below PCL levels to capitalize on momentum.
Reversal Trading: Detect potential reversal points using reversal up/down conditions to enter trades counter to the prevailing trend.
Support and Resistance: Utilize PCH and PCL levels as dynamic support and resistance levels for setting stop-loss and take-profit targets.
Unique Value Proposition:
The "PCH & PCL Indicator with Bias and Target Table" stands out by integrating critical price levels with dynamic market bias detection, providing traders with a comprehensive tool for analyzing market trends and reversals. Its customizable features and easy-to-interpret visuals make it an indispensable addition to any trader's toolkit.
PKSE Buy/Sell Signals Table - Two Columns with VWAPndicator Description: PKSE Buy/Sell Signals Table - Two Columns with VWAP
Overview
The PKSE Buy/Sell Signals Table - Two Columns with VWAP is a robust Pine Script indicator for Pakistan Stock Exchange (PSX) traders. It generates buy and sell signals for 19 PSX stocks based on Simple Moving Average (SMA) crossovers, KSE100 Index trends, and daily Volume Weighted Average Price (VWAP) conditions, displayed in two compact, side-by-side tables optimized for monitor viewing.
Purpose
This indicator helps traders identify high-probability trading opportunities by filtering signals with VWAP to reduce noise, ideal for swing traders, day traders, and investors monitoring PSX stocks.
Key Features
Dual-Table Layout: Displays 19 stocks in two side-by-side tables (10 and 9 stocks) for a monitor-friendly view.
Enhanced Signal Logic: Combines three conditions:
KSE100 Trend: Signals depend on the KSE100 Index being above/below its SMA.
Stock SMA: Signals based on stock price crossing or being above/below its SMA.
Daily VWAP Filter: Buy signals require the stock to be above its daily VWAP; sell signals require it to be below.
Signal Types:
Buy NOW: Stock crosses above SMA, KSE100 is bullish, stock above VWAP.
Buy: Stock above SMA, KSE100 bullish, stock above VWAP.
Sell NOW: Stock crosses below SMA, KSE100 bearish, stock below VWAP.
Sell: Stock below SMA, KSE100 bearish, stock below VWAP.
Neutral: Conditions not fully met.
No Data: Invalid or missing data.
Customizable Inputs:
SMA length (default: 5).
Timeframe (5, 15, 30, 60 minutes, daily; default: 30 minutes).
KSE100 symbol (default: "PSX:KSE100").
Color-Coded Signals: Green (Buy), lime (Buy NOW), red (Sell), orange (Sell NOW), gray (No Data), white (Neutral).
Stock Coverage: Tracks 19 PSX stocks (e.g., FFC, OGDC, HUBC, UBL, MCB, LUCK).
Error Handling: Handles invalid symbols or missing data with "No Data" signals.
How It Works
Fetches KSE100 and stock prices in the selected timeframe (default: 30 minutes) and daily VWAP.
Calculates SMA for KSE100 and stocks; evaluates VWAP position.
Generates signals when all conditions align, based on the 30-minute candle close.
Displays results in two tables (Stock, Signal, Timeframe) at top-right and top-center.
Usage Instructions
Add the indicator to your TradingView chart.
Configure inputs: SMA length, timeframe, KSE100 symbol.
View tables showing signals for 19 PSX stocks.
Use signals to guide trading, combining with other analysis.
Adjust table positions if needed (modify position.top_right/top_center).
Ideal For
PSX traders using SMA and VWAP strategies.
Swing/day traders seeking filtered signals.
Investors tracking KSE100 and stock trends.
Limitations
Limited to 19 stocks due to TradingView’s 40-security-call limit.
Signals rely on SMA, VWAP, and KSE100; combine with other analysis.
Hardcoded stock list; contact the author for customizations.
Notes
Verify stock symbols are valid on your TradingView platform.
Best on 1920x1080+ resolution. Adjust chart scaling if tables overlap.
Published on June 12, 2025, at 11:50 AM PKT.
Disclaimer
Trading carries risk. This indicator is for informational purposes only and not financial advice. Conduct your own research before trading.
Multi 10 Symbol Scanner Table V1Script Summary: "Multi 10 Symbol Scanner Table V1"
This TradingView indicator acts as a powerful market scanner dashboard. Instead of plotting signals on your main price chart, its primary purpose is to display a table summarizing the technical status of up to 10 different assets (stocks, crypto, forex pairs, etc.) that you choose.
Think of it as a watchlist on steroids. It analyzes each symbol you enter based on a consistent set of rules you define and presents the results side-by-side in the table for quick comparison.
Here's what the table shows for each symbol you add:
Symbol: The ticker name of the asset being scanned.
Actual Price: The current market price of that asset.
Price vs. MAs: Indicates the short-term trend based on whether the price (on the chart's current timeframe) is above two moving average lines ("Above Both"), below them ("Below Both"), or in between ("Mixed"). This column is color-coded (Green/Red/Gray).
RSI Value: Shows the current RSI (Relative Strength Index) number, a measure of momentum (calculated on the chart's current timeframe).
RSI Status: Tells you if the RSI is currently "Overbought," "Oversold," or "Neutral" based on the levels you set. This column is color-coded (Red/Green/Gray).
SIG NOW: A combined "immediate signal" based on the Price vs. MAs and RSI Status conditions (calculated on the chart's current timeframe). It shows "BUY," "SELL," or "NEUTRAL" and is color-coded (Green/Red/Gray).
ALERT: Flags unusual trading volume activity (calculated on the chart's current timeframe). It shows "SPIKE" for high volume, "DUMP" for low volume, or "NONE." This column is color-coded (Orange/Purple/Gray).
LTS (TF1), LTS (TF2), LTS (TF3): These three columns show separate Long-Term Signals for each asset. Each signal is calculated independently using Bollinger Bands on a different, higher timeframe that you specify (e.g., Daily, Weekly, Monthly). It shows "BUY," "SELL," or "NEUTRAL" along with the price at which that signal occurred on that specific higher timeframe. These columns are also color-coded (Green/Red/Gray).
In essence: This script lets you monitor multiple assets simultaneously from one place, checking their short-term trend, momentum, volume activity, and longer-term signals across three different time perspectives, all updated in real-time within the table.
Important Note: This script only displays information in the table. It does not plot any lines or signals on your main chart, nor does it generate built-in TradingView alerts. It's purely a visual dashboard for scanning.
How to Adjust the Script Settings
You can customize the scanner through its "Settings" panel in TradingView. Here’s how to adjust each part:
1. Symbols (Enter Ticker IDs like 'BINANCE:BTCUSDT')
Symbol 1 to Symbol 10: These are the 10 slots where you enter the assets you want to scan.
How to Enter: You need the full Ticker ID, often including the exchange prefix. Examples: NASDAQ:AAPL, BINANCE:BTCUSDT, FX:EURUSD, NYSE:GME. You can find these using TradingView's symbol search.
Leaving Blank: If you don't need all 10 slots, just leave the extra ones blank. The table will only show rows for the symbols you've entered.
2. Indicator Settings (Chart Timeframe)
These settings define the rules for the analysis performed using the timeframe of the chart you currently have open. These rules are applied to all symbols in your list for the "Price vs MAs," "RSI," "SIG NOW," and "ALERT" columns.
MA Source: Choose which price point (Close, Open, High, Low, etc.) the moving averages should be based on. (Default: Close)
Short MA Period: Set the number of bars for the shorter-term moving average. A smaller number reacts faster. (Default: 20)
Long MA Period: Set the number of bars for the longer-term moving average. A larger number shows a smoother trend. (Default: 50)
RSI Source: Choose which price point the RSI momentum calculation should use. (Default: Close)
RSI Period: Set the number of bars for the RSI calculation. (Default: 14)
RSI Overbought Level: The RSI level above which an asset is considered "Overbought" in the table. (Default: 70)
RSI Oversold Level: The RSI level below which an asset is considered "Oversold" in the table. (Default: 30)
SIG NOW RSI Buy Min: The minimum RSI value required (along with price being above MAs) to show a "BUY" signal in the "SIG NOW" column. (Default: 55)
SIG NOW RSI Sell Max: The maximum RSI value required (along with price being below MAs) to show a "SELL" signal in the "SIG NOW" column. (Default: 45)
Volume Lookback (LBV): How many bars (on the chart's timeframe) to look back to calculate the average volume for the Spike/Dump alerts. (Default: 3)
Volume MA Type: The type of averaging method used for the volume calculation. (Default: EMA)
3. Volume Alert Settings
These control the sensitivity of the "ALERT" column (Spike/Dump detection) for all symbols.
Volume Alert Sensitivity: Choose a preset:
"Normal": Standard thresholds.
"Sensitive": Easier to trigger alerts.
"Highly Sensitive": Easiest to trigger alerts.
"Custom": Uses the manual multipliers below.
Custom Spike Multiplier (>1): (Only used if Sensitivity is "Custom") Volume must be this many times greater than average to trigger SPIKE. (e.g., 1.5 = 50% higher).
Custom Dump Multiplier (<1): (Only used if Sensitivity is "Custom") Volume must be this many times smaller than average to trigger DUMP. (e.g., 0.7 = 30% lower).
4. Long Term Signal (LTS) Settings
These settings control the calculations for the three independent "LTS" columns in the table. Each LTS column analyzes data from a specific higher timeframe you choose.
LTS Timeframe 1 / 2 / 3: Select the higher timeframes (e.g., 'D' for Daily, 'W' for Weekly, 'M' for Monthly) for each of the three LTS calculations. These will determine the data used for the corresponding LTS columns in the table.
LTS BB Source: The price source used for the Bollinger Band calculation on the selected LTS timeframes. (Default: Close)
LTS BB Length: The period (number of bars on the chosen LTS timeframe) used for the Bollinger Band calculation. (Default: 20)
LTS BB StdDev: The standard deviation multiplier for the Bollinger Bands used in the LTS calculations. (Default: 2.0)
5. Table Settings
These control the appearance of the scanner table itself.
Table Position: Choose which corner or side of the chart the table should appear on.
Decimal Places (Non-Price): How many decimal places to show for values like the RSI number in the table.
Table Text Size: Adjust the font size inside the table cells ("tiny", "small", "normal", "large", "huge").
By adjusting these settings, you can tailor the scanner to focus on the assets, timeframes, and technical conditions that matter most to your trading strategy. Remember to enter valid ticker symbols for the assets you want to track.
Investing - Correlation Table This correlation tables idea is nothing new, many sites provides it.
However, I couldn't find any simple correlation indicator on TradingView despite how simple this indicator is.
This indicator works as its called. Calculating the correlation between 2 projects (can be used in stocks as well) using the 'ta.correlation' feature built into pinescript.
When it comes to investing, we do not want our stocks / crypto project to be heavily correlated to each other.
If they are heavily correlated to each other, then there isn't much point in diversifying.
That being said, it can be useful for traders who trade multiple pairs.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
In this indicator, consist of 5 primary input and 15 secondary input (Symbol List).
Correlation Source:
This input options allow you to change how the correlation is calculated. By default, it uses 'close'.
Correlation Percentage(%):
This input options allows you configure how many (%) of correlation is considered as 'decoupled'.
This correlation will only move between -100% ~ 100%.
100% refers to it moving together.
-100% refers to it moving the opposite direction.
For example, Project A rises in Price, what is the possibility of Project B following:
A 100% correlation between Project A and Project B, refers to Project B will follow Project A movement.
A 50% correlation between Project A and Project B, refers to there is only 50% chance for Project B to follow Project A movement.
A -20% correlation between Project A and Project B, refers to there is a 20% chance of Project B moving the opposite direction of Project A
(Refers to the table on chart above to better understand what the numbers means. DOT/USD has a 100% correlation to DOT/USD. However. MXCUSDT has a -37.2% correlation to DOT/USD.)
Amounts Bars To Check:
This input options will check the amount of bars since the last bar in the chart.
If you want to know the correlation of the past 100 days in a daily chart, you will enter '100' into this options and it will check only the past 100 days.
Symbol List
This will allow you to input all the project symbol ticker ID to add into the correlation table.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Originally, I wish to use for loop to go through the symbol list to reduce the amount of code required. However, due to limitation of 'request.security' feature, I had to abandon that idea and use hard-coded for requesting security and use a while loop to identify the symbol correlation value in the array set then set the table value accordingly.
If there is any script writer could improve this or any unclear explanation, feel free to drop a comment below.
TIL Multi RSITrading Indicator Lab’s Multi RSI for TradingView is a powerful indicator that extends your capability to monitor RSI signals up to 20 different symbols all at the same time in just a single chart.
Eagle Eyes
The Multi RSI indicator can calculate the RSI of close prices of multiple symbols at any timeframe. This allows you to scan for RSI signals that may escape your search for potential good trading opportunities. It lets you choose the symbols you want to monitor for up to 20 slots and it INSTANTLY tells you which ones are overbought, oversold and even those that are at the verge of the buying or selling extremes in real-time so you can always be there when that big trend reversal happens.
Auto Sort
The symbols you add to the Multi RSI indicator are automatically sorted by their RSI readings from the most oversold down to the most overbought, each with a color assigned to them. Symbols that have an RSI reading of 50 and above are displayed in red while those below 50 are displayed in green. Those that breach the oversold and overbought signals are displayed in a brighter shade of color of red and green respectively. These colors are fully customizable in the indicator’s inputs.
Adjustable Oversold and Overbought Levels
The Multi RSI indicator uses the default 70/30 oversold-overbought levels but this can be easily adjusted in the Inputs section to match your preferences. The indicator’s color and alert system adjusts automatically to these changes.
Arrows
Beside each RSI reading is an arrow which gives you information about its trajectory, whether it is going up, down, or sideways. This is based on the last bar’s RSI value.
Alerts
The indicator lets you know when one or more symbols in the table crosses the oversold or overbought levels. These are predefined alert conditions that can be chosen in TradingView’s alert creation tool.
Available Alert Conditions
- Oversold – triggers when one or more symbols in the table are oversold
- Overbought – triggers when one of more symbols in the table are overbought
Inputs
- Length – sets the period of the RSI function to be applied to all symbols
- Oversold – sets the reference level for oversold signals (default level at 70)
- Overbought – sets the reference level for overbought signals (default level at 30)
- Symbol 1 – Symbol 20 – slots for TradingView symbols (charts) that you want to monitor
- Top Half Color 1 – the color of rows that are in the oversold level
- Top Half Color 2 – the color of rows that are 50 or above but not beyond the oversold level
- Bottom Half Color 1 – the color of rows that are in the overbought level
- Bottom Half Color 2 – the color of rows that are below 50 but not beyond the overbought level
- Position – sets where the indicator is displayed in the chart
- Font Size – sets the text size of the indicator
- Height – sets the size of each cell in the table. Size 0 means the height automatically adjusts to the chart’s size.
Stochastic RSI with MTF TableShort Description of the Script
The provided Pine Script indicator, titled "Stochastic RSI with MTF Table," calculates and displays the Stochastic RSI for the current timeframe and multiple other timeframes (5m, 15m, 30m, 60m, 240m, and daily). The Stochastic RSI is a momentum indicator that blends the Relative Strength Index (RSI) and Stochastic Oscillator to identify overbought and oversold conditions, as well as potential trend reversals via K and D line crossovers.
Key features of the script include:
Inputs: Customizable parameters such as K smoothing (default 3), D smoothing (default 3), RSI length (default 14), Stochastic length (default 14), source price (default close), and overbought/oversold levels (default 80/20).
MTF Table: A table displays the Stochastic RSI status for each timeframe:
"OB" (overbought) if K > 80, "OS" (oversold) if K < 20, or "N" (neutral) otherwise.
Crossovers: "K↑D" for bullish (K crosses above D) and "K↓D" for bearish (K crosses below D).
Visualization: Plots the K and D lines for the current timeframe, with horizontal lines at 80 (overbought), 50 (middle), and 20 (oversold), plus a background fill for clarity.
Table Position: Configurable to appear in one of four chart corners (default: top-right).
This indicator helps traders assess momentum across multiple timeframes simultaneously, aiding in the identification of trend strength and potential entry/exit points.
Trading Strategy with 50EMA and 200EMA for Highest Winning Rate
To create a strategy with the best probability of a high winning rate using the Stochastic RSI MTF indicator alongside the 50-period Exponential Moving Average (50EMA) and 200-period Exponential Moving Average (200EMA), we can combine trend identification with momentum-based entry timing. The 50EMA and 200EMA are widely used to determine medium- and long-term trends, while the Stochastic RSI MTF table provides multi-timeframe momentum signals. Here’s the strategy:
1. Determine the Overall Trend
Bullish Trend: The 50EMA is above the 200EMA on the current timeframe (e.g., daily or 60m chart). This suggests an uptrend, often associated with a "Golden Cross."
Bearish Trend: The 50EMA is below the 200EMA on the current timeframe. This indicates a downtrend, often linked to a "Death Cross."
Implementation: Plot the 50EMA and 200EMA on your chart and visually confirm their relative positions.
2. Identify Entry Signals Using the Stochastic RSI MTF Table
In a Bullish Trend (50EMA > 200EMA):
Look for timeframes in the MTF table showing:
Oversold (OS): K < 20, indicating a potential pullback in the uptrend where price may rebound.
Bullish Crossover (K↑D): K crosses above D, signaling rising momentum and a potential entry point.
Example: If the 60m and 240m timeframes show "OS" or "K↑D," this could be a buy signal.
In a Bearish Trend (50EMA < 200EMA):
Look for timeframes in the MTF table showing:
Overbought (OB): K > 80, suggesting a rally in the downtrend where price may reverse downward.
Bearish Crossover (K↓D): K crosses below D, indicating declining momentum and a potential short entry.
Example: If the 30m and daily timeframes show "OB" or "K↓D," this could be a sell/short signal.
Current Timeframe Check: Use the plotted K and D lines on your trading timeframe for precise entry timing (e.g., confirm a K↑D crossover on a 60m chart for a long trade).
3. Confirm Signals Across Multiple Timeframes
Strengthen the Signal: A higher winning rate is more likely when multiple timeframes align with the trend and signal. For instance:
Bullish trend + "OS" or "K↑D" on 60m, 240m, and daily = strong buy signal.
Bearish trend + "OB" or "K↓D" on 15m, 60m, and 240m = strong sell signal.
Prioritize Higher Timeframes: Signals from the 240m or daily timeframe carry more weight due to their indication of broader trends, increasing reliability.
4. Set Stop-Loss and Take-Profit Levels
Long Trades (Bullish):
Stop-Loss: Place below the most recent swing low or below the 50EMA, whichever is closer, to protect against trend reversals.
Take-Profit: Target a key resistance level or use a risk-reward ratio (e.g., 2:1 or 3:1) based on the stop-loss distance.
Short Trades (Bearish):
Stop-Loss: Place above the most recent swing high or above the 50EMA, whichever is closer.
Take-Profit: Target a key support level or apply a similar risk-reward ratio.
Trailing Stop Option: As the trend progresses, trail the stop below the 50EMA (for longs) or above it (for shorts) to lock in profits.
5. Risk Management
Position Sizing: Risk no more than 1-2% of your trading capital per trade to minimize losses from false signals.
Volatility Consideration: Adjust stop-loss distances and position sizes based on the asset’s volatility (e.g., wider stops for volatile stocks or crypto).
Avoid Overtrading: Wait for clear alignment between the EMA trend and MTF signals to avoid low-probability setups.
Example Scenario
Chart: 60-minute timeframe.
Trend: 50EMA > 200EMA (bullish).
MTF Table: 60m shows "OS," 240m shows "K↑D," and daily is "N."
Action: Enter a long position when the 60m K line crosses above D, confirming the table signal.
Stop-Loss: Below the recent 60m swing low (e.g., 2% below entry).
Take-Profit: At the next resistance level or a 3:1 reward-to-risk ratio.
Outcome: High probability of success due to trend alignment and multi-timeframe confirmation.
Why This Strategy Works
Trend Following: Trading in the direction of the 50EMA/200EMA trend reduces the risk of fighting the market’s momentum.
Momentum Timing: The Stochastic RSI MTF table pinpoints pullbacks or reversals within the trend, improving entry timing.
Multi-Timeframe Confirmation: Alignment across timeframes filters out noise, increasing the win rate.
Risk Control: Defined stop-loss and position sizing protect against inevitable losses.
Caveats
No strategy guarantees a 100% win rate; false signals can occur, especially in choppy markets.
Test this strategy on historical data or a demo account to verify its effectiveness for your asset and timeframe.
This approach leverages the strengths of both trend-following (EMA) and momentum (Stochastic RSI) tools, aiming for a high-probability, disciplined trading system.
Volume-Supported Linear Regression Trend TableThe "Volume-Supported Linear Regression Trend Table" (VSLRT Table) script helps traders identify buy and sell opportunities by analyzing price trends and volume dynamics across multiple timeframes. It uses linear regression to calculate the trend direction and volume strength, visually representing this data with color-coded signals on the chart and in a table. Green signals indicate buying opportunities, while red signals suggest selling, with volume acting as confirmation of trend strength. Traders can use these signals for both short and long positions, with additional risk management and multi-timeframe validation to enhance the strategy.
------------------------------------------------------------------------------
To use the "Volume-Supported Linear Regression Trend Table" (VSLRT Table) script in a trading strategy, you would incorporate it into your decision-making process to identify potential buy and sell opportunities based on the trend and volume dynamics. Here’s how you could apply it for trading:
1. Understanding the Key Elements:
Trend Direction (Slope of Price): The script uses linear regression to assess the trend direction of the price. If the price slope is positive, the asset is likely in an uptrend; if it's negative, the asset is in a downtrend.
Volume-Backed Signals: The buy or sell signal is not only based on the price trend but also on volume. Volume is crucial in validating the strength of a trend; large volume often indicates strong interest in a direction.
2. Interpreting the Table and Signals:
The table displayed at the bottom-right of your TradingView chart gives you a clear overview of the trends across different timeframes:
Trend Colors:
Green hues (e.g., ccol11, ccol12, etc.): Indicate a buying trend supported by volume.
Red hues (e.g., ccol21, ccol22, etc.): Indicate a selling trend supported by volume.
Gray: Indicates weak or unclear trends where no decisive direction is present.
Buy/Sell Signals:
The script plots triangles on the chart:
Upward triangle below the bar signals a potential buy.
Downward triangle above the bar signals a potential sell.
3. Building a Trading Strategy:
Here’s how you can incorporate the script’s information into a trading strategy:
Buy Signal (Long Entry):
Look for green triangles (indicating a buy signal) below a bar.
Confirm that the trend color in the table for the relevant timeframe is green, which shows that the buy signal is supported by strong volume.
Ensure that the price is in an uptrend (positive slope) and that volume is increasing on upward moves, as this indicates buying interest.
Execute a long position when these conditions align.
Sell Signal (Short Entry):
Look for red triangles (indicating a sell signal) above a bar.
Confirm that the trend color in the table for the relevant timeframe is red, which shows that the sell signal is supported by strong volume.
Ensure that the price is in a downtrend (negative slope) and that volume is increasing on downward moves, indicating selling pressure.
Execute a short position when these conditions align.
Exiting the Trade:
Exit a long position when a sell signal (red triangle) appears, or when the trend color in the table shifts to red.
Exit a short position when a buy signal (green triangle) appears, or when the trend color in the table shifts to green.
4. Multi-Timeframe Confirmation:
The script provides trends across multiple timeframes (tf1, tf2, tf3), which can help in validating your trade:
Short-Term Trading: Use shorter timeframes (e.g., 3, 5 minutes) for intraday trades. If both short and medium timeframes align in trend direction (e.g., both showing green), it strengthens the signal.
Longer-Term Trading: If you are trading on a higher timeframe (e.g., daily or weekly), confirm that the lower timeframes align with your intended trade direction.
5. Adding Risk Management:
Stop-Loss: Place stop-losses below recent lows (for long trades) or above recent highs (for short trades) to minimize risk.
Take Profit: Consider taking profit at key support/resistance levels or based on a fixed risk-to-reward ratio (e.g., 2:1).
Example Strategy Flow:
For Long (Buy) Trade:
Signal: A green triangle appears below a candle (Buy signal).
Trend Confirmation: Check that the color in the table for your selected timeframe is green, confirming the trend is supported by volume.
Execute Long: Enter a long trade if the price is trending upward (positive price slope).
Exit Long: Exit when a red triangle appears above a candle (Sell signal) or if the trend color shifts to red in the table.
For Short (Sell) Trade:
Signal: A red triangle appears above a candle (Sell signal).
Trend Confirmation: Check that the color in the table for your selected timeframe is red, confirming the trend is supported by volume.
Execute Short: Enter a short trade if the price is trending downward (negative price slope).
Exit Short: Exit when a green triangle appears below a candle (Buy signal) or if the trend color shifts to green in the table.
6. Fine-Tuning:
Backtesting: Before trading live, use TradingView’s backtesting features to test the strategy on historical data and optimize the settings (e.g., length of linear regression, timeframe).
Combine with Other Indicators: Use this strategy alongside other technical indicators (e.g., RSI, MACD) for better confirmation.
In summary, the script helps identify trends with volume support, giving more confidence in buy/sell decisions. Combining these signals with risk management and multi-timeframe analysis can create a solid trading strategy.
VNIndex Over 6.5% Downside Drop Indicator with TableOverview: The VNIndex 6.5% Downside Drop Indicator is a powerful tool designed to help traders and investors identify significant market drops on the VNIndex (or any other asset) based on a 6.5% downside threshold. This Pine Script® indicator automatically detects when the price of an asset drops by more than 6.5% within a single day, and visually marks those events on the chart.
Key Features:
6.5% Downside Drop Detection: Automatically calculates the daily percentage drop and identifies when the price falls by more than 6.5%.
Table Display: Displays the dates and corresponding percentage drops of all identified instances in a convenient table at the bottom right of the chart.
Markers: Red down-pointing markers are plotted above bars where the price drop exceeds the 6.5% threshold, making it easy to spot critical drop events at a glance.
Easy-to-Read Table: The table lists the date and drop percentage, updating dynamically as new drops are detected. This allows for easy tracking of significant downside moves over time.
How to Use:
Install the Script: Add this indicator to your TradingView chart.
Monitor Price Drops: The indicator will automatically detect when the price drops by over 6.5% from the previous close and display a marker on the chart and the table in the bottom right corner.
View the Table: The table displays the date and the percentage drop of each detected event, making it easy to track past significant moves.
Alerts: You can set an alert for 6.5% drops to receive notifications in real-time.
Customization Options:
The drop percentage threshold (6.5%) can be adjusted in the script to fit other market conditions or assets.
The table can be resized or styled based on user preference for better visibility.
Why Use This Indicator? This indicator is perfect for traders looking to spot large, significant price movements quickly. Large downside drops can signal potential market reversals or trading opportunities, and this tool helps you track such events effortlessly. Whether you're monitoring the VNIndex or any other asset, this indicator provides crucial insights into volatile price action, helping you make more informed decisions.
Open Source License: This indicator is open source and free to use under the Mozilla Public License 2.0. You are welcome to modify, distribute, and contribute to the project.
Contributions: Feel free to contribute improvements, fixes, or new features by creating a pull request. Let’s collaborate to make this indicator even better for the community!
When To Finance - Seriously Helpful Information TablesThis is a script I created originally for my friends to be able to learn how to trade like how I trade, seasoned traders may understand the script as soon as you look at it but those that are new might need some more information on how this script works.
The main purpose of this indicator is to show some important information from other indicators and crypto market information to determine market sentiment.
Indicators used:
EMA 10, 20, 50, 200 ,800
The EMA 50 Line changes colour depending if it is above or below the EMA 200 which is what some may call a Golden or Death cross. The Trade Table will show the EMA values and will also change colours depending if the price is below or above the value which would turn Red and become a resistance or Green and become a support.
RSI 14
I have added the RSI values which will also change colours depending if the asset is in the overbought zone or the oversold zone. There are other bits of information to consider but I have colour coded this and paired with the way I trade, this is quite useful with the other metrics.
ADX 14 14
The ADX value has been added since I use it for scalp trading, it turns green when the value is over 25 and red when under. Also needed with my trading style.
ATR 14 RMA
The ATR has been added to allow me to quickly use it and multiply it depending on my Risk Ratio. This is just there to show the value.
Crypto Market Cap, USDT & BTC Dominance
As part of my trading style, knowing about the market sentiments is important in order for me to trade Alts or BTC. This information is needed to understand which trades to take whilst also using the other bits of information on the tables.
S&P 500 + NASDAQ COMP
I have added these in order for me to see how the general markets are doing. I believe these are important for me to understand the whole market money flow.
My script is what my friends and I need to allow us to trade efficiently without needing all the other indicators that take up screen real estate.
Bollinger Levels Table - Horizontal Support ZonesBollinger Levels Table - Horizontal Support Zones Indicator (with Customizable Options)
The "Bollinger Levels Table - Horizontal Support Zones" indicator is a comprehensive tool designed to help you identify potential support areas on your chart using moving averages and Bollinger Bands. The indicator displays an organized table of key price levels and draws horizontal lines on the chart, providing clear visibility of potential support zones.
What Does This Indicator Do?
This indicator aims to simplify support analysis by consolidating and displaying significant price levels derived from three different Bollinger Band settings: BB10, BB20, and BB50. It calculates both the Mid-line (Basis) and the Lower Band for each of these settings.
Furthermore, the indicator automatically arranges these levels from highest to lowest in an easy-to-read table, assigning a "Payment" label to each level. These "Payments" are simply labels to help you track the levels in descending order.
How Does This Indicator Work?
Bollinger Band Calculations: The indicator uses the standard Bollinger Band formula:
Mid-line (Basis): A Simple Moving Average (SMA) of the closing price over a specified period.
Standard Deviation (Dev): The standard deviation of the closing price over the same period, multiplied by a Multiplier.
Lower Band: The Mid-line minus the Standard Deviation.
These calculations are applied to three different periods: 10, 20, and 50, providing a variety of potential support levels based on different timeframes. You can adjust the values for these lengths (10, 20, 50) and the Multiplier through the indicator's settings.
Table Construction: A dynamic table is created on the chart (which can be positioned in the top or bottom right corner based on the current price's position). This table displays:
Indicator: The name of the Bollinger Band level (e.g., BB10 Mid, BB20 Lower).
Price: The exact price value of that level.
Payments: A label indicating the level's order in the table.
Level Ordering: All calculated levels are dynamically sorted from highest to lowest to present them in a logical order within the table.
Horizontal Line Plotting: Horizontal lines are drawn on the chart for each selected level, providing a visual representation of the potential support areas. These lines are colored black and have a consistent width for easy identification.
How to Use This Indicator:
This indicator is intended to provide potential entry points or accumulation zones for trades, especially for traders employing Dollar-Cost Averaging (DCA) strategies or building positions in stages. The levels displayed in the table and on the chart can represent potential support levels where one might consider initiating or adding to a position.
In the indicator's settings, you'll find important options:
Multiplier: Controls the width of the Bollinger Bands (default 2.0).
BB Lengths: Allows you to adjust the periods for the moving averages (default 20, 50, 10).
Visible Levels: This is the new feature! Here, you can select which levels you wish to see in the table and on the chart. Simply check or uncheck the boxes next to each level (BB10 Mid, BB10 Lower, and so on) to customize the indicator's display according to your strategy and needs.
Underlying Concepts:
This indicator is based on the principle that Bollinger Bands can act as dynamic support and resistance zones.
Mid-line (SMA): Often functions as a medium-term support or resistance.
Lower Band: Typically indicates that the price is relatively low and may find support, making it a potential area for buying or starting to build a position.
By combining different Bollinger Band timeframes (10, 20, 50), the indicator gives you a multi-timeframe perspective on support areas, helping you identify the most relevant levels for your strategy.
Note: While the indicator provides "Payments" for the levels, this is purely a sequential labeling within the table to assist your position-building strategy. There is no actual payment functionality associated with this indicator.
Volume & ATR Projection Tracker w/ Table & Alerts# README: Volume & ATR Projection Tracker (Pine Script Indicator)
## Overview
This Pine Script indicator for TradingView is designed to help traders analyze volume activity and potential short-term price volatility. It plots volume bars, calculates a moving average of volume, highlights unusual volume spikes (differentiating between up and down bars), and projects potential price ranges for upcoming hours based on Average True Range (ATR). It also provides a status table and configurable alerts.
**Disclaimer:** This indicator provides informational analysis and projections based on historical data and volatility. It does **not** provide guaranteed price predictions or financial advice. Trading involves substantial risk. Always do your own research and consult with a qualified financial advisor.
## Features
* **Volume Plotting:** Displays volume as a histogram in a separate panel.
* **Volume Moving Average:** Calculates and plots a configurable MA (SMA, EMA, WMA) of volume.
* **Unusual Volume Detection:** Identifies bars where volume significantly exceeds its moving average (based on a user-defined multiplier).
* **Differentiated Volume Analysis:**
* Colors volume bars differently based on whether unusual volume occurred on an up-bar (Close > Open), down-bar (Close < Open), or neutral bar (Close == Open).
* Plots different spike markers (up/down triangles) on the price chart for unusual volume on up/down bars.
* **ATR Volatility Projections:**
* Calculates the Average True Range (ATR) as a measure of recent volatility.
* Projects a potential price range (Close +/- ATR \* Multiplier) for a specified number of future hours.
* Plots these ranges as dashed lines and labels on the price chart.
* **Important:** These are volatility-based *ranges*, not directional predictions.
* **Status Table:** Displays a concise summary table on the chart including:
* Current Volume Status (Normal, High (Up), High (Down), High (Neut)).
* Current Volume compared to its MA (as a percentage).
* The projected ATR range for the next hour.
* **Configurable Alerts:** Provides alert conditions for:
* Unusual Volume detection.
* Volume crossing above its MA.
* Volume crossing below its MA.
* **Customizable Inputs:** Allows users to configure MA settings, volume threshold, ATR settings, projection hours, trading session times, and colors.
## How it Works
1. **Volume Analysis:**
* Calculates a Moving Average (SMA, EMA, or WMA) of the volume over a specified length (`MA Length`).
* Compares the current bar's volume to this MA. If `Volume > MA * Unusual Vol Multiplier`, the volume is flagged as "unusual".
* Checks if the unusual volume occurred on a bar where `Close > Open` (Up), `Close < Open` (Down), or `Close == Open` (Neutral).
* Colors the volume bars and plots spike markers based on this differentiated status.
2. **ATR Projections:**
* Calculates the ATR over a specified length (`ATR Length`).
* At the start of each hour *within the defined Trading Session*:
* Calculates an upper projection level: `Current Close + (Current ATR * ATR Multiplier)`.
* Calculates a lower projection level: `Current Close - (Current ATR * ATR Multiplier)`.
* Stores these levels for the specified number of `Projection Hours Ahead`.
* Draws dashed lines and labels on the price chart representing these hourly ranges for the future, but only if they are within TradingView's 500-bar drawing limit from the current bar.
3. **Status Table:**
* Updates on the last bar of the chart.
* Displays the current differentiated volume status, the percentage difference between current volume and its MA, and the calculated ATR range for the *next* hour.
4. **Alerts:**
* Uses `alertcondition()` to create trigger conditions based on `unusualVolumeBase`, `vol_cross_above`, and `vol_cross_below`. Users can create alerts based on these conditions in the TradingView UI.
## Input Settings
The indicator settings are organized into groups:
**Group 1: Volume Analysis Settings**
* **MA Length:** (Default: 20) Number of bars for the volume MA calculation.
* **MA Type:** (Default: SMA) Type of moving average (SMA, EMA, WMA).
* **Unusual Vol Multiplier:** (Default: 2.0) Threshold for detecting unusual volume (Volume > MA * Multiplier).
* **Show Volume Spikes:** (Default: true) Toggle visibility of triangle markers on the price chart.
* **Show Volume MA:** (Default: true) Toggle visibility of the MA line on the volume panel.
**Group 2: ATR Projection Settings**
* **ATR Length:** (Default: 14) Number of bars for the ATR calculation.
* **ATR Multiplier:** (Default: 1.5) Factor applied to ATR to determine the projection range width. Higher values create wider ranges.
* **Projection Hours Ahead:** (Default: 8) How many hours forward to calculate and display projections.
* **Show Projections:** (Default: true) Toggle visibility of projection lines and labels on the price chart.
**Group 3: Session & Colors**
* **Trading Session:** (Default: "0930-1600") Defines the hours during which projections are calculated. **Crucial:** Format is HHMM-HHMM based on the exchange timezone (see Timezone Note below).
* **Normal Vol Color:** (Default: blue) Color for volume bars when volume is not unusual.
* **Volume MA Color:** (Default: yellow) Color of the volume MA line.
* **Unusual Vol (Up Bar) Color:** (Default: light green) Color for unusual volume bars where Close > Open.
* **Unusual Vol (Down Bar) Color:** (Default: light red) Color for unusual volume bars where Close < Open.
* **Unusual Vol (Neutral Bar) Color:** (Default: light gray) Color for unusual volume bars where Close == Open.
* **Projection Line Color:** (Default: orange) Color of the dashed projection range lines.
* **Proj Label Bg Color:** (Default: semi-transparent gray) Background color for projection labels.
* **Proj Label Text Color:** (Default: white) Text color for projection labels.
## Timezone Note
The `Trading Session` input relies on a timezone setting within the `is_in_session` function in the code (currently hardcoded to `"UTC-4"` as an example for US Eastern Time). **You may need to edit the script code** to change this timezone string (e.g., `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`) to match the exchange time of the instrument you are trading. Consult Pine Script documentation for valid timezone strings.
## Limitations
* **Drawing Limit:** TradingView limits drawing objects (lines, labels) to a maximum of ~500 bars into the future from the current bar. On lower timeframes, the script automatically stops drawing projections that exceed this limit.
* **Projection vs. Prediction:** The ATR ranges are based on past volatility and are *not* price predictions. The market can easily move outside these projected ranges.
* **Alerts:** Alerts for price crossing the projected future levels are not implemented due to technical complexity in Pine Script.
## Disclaimer
Trading financial markets involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not make any investment decision based solely on the information provided by this indicator. Past performance is not indicative of future results.
RISK MANAGEMENT TABLEThis updated Risk Management Indicator is a powerful and customizable tool designed to help traders effectively manage risk on every trade. By dynamically calculating position size, stop-loss, and take-profit levels, it enables traders to stay disciplined and follow predefined risk parameters directly on their charts.
Features:
Dynamic Stop-Loss and Take-Profit Levels:
Stop-loss is based on the Average True Range (ATR), offering a flexible way to account for
market volatility.
Take-profit levels can be customized as a percentage of the entry price, providing a clear
target for trade exits.
Position Sizing Calculation:
The indicator computes the maximum position size by considering:
Trade amount (montant_ligne).
Risk percentage per trade.
Transaction fees.
Visual Representation:
Displays stop-loss and take-profit levels on the chart as customizable lines.
Optional visibility of these lines through checkboxes in the settings panel.
Comprehensive Risk Table:
A table on the chart summarizes essential risk metrics:
Stop-loss value.
Distance from entry in percentage.
Position size (maximum suggested).
Take-profit price.
Customizable:
Adjust parameters like ATR length, smoothing type, risk percentage, transaction fees,
and take-profit percentage.
Modify the visual length of lines representing stop-loss and take-profit levels.
How It Works:
Stop-Loss Calculation:
The stop-loss level is calculated using ATR and a volatility factor (default: 2).
This ensures your stop-loss adapts to market conditions.
Take-Profit Calculation:
Take-profit is derived as a percentage increase from the entry price.
Position Size:
The optimal position size is computed as:
Position Size = Risk per Trade /ATR-based Stop Distance
The risk per trade deducts transaction fees to provide a more accurate calculation.
Visual Lines:
Risk Table:
The table displays updated stop-loss, position size, and take-profit metrics at a glance.
Settings Panel:
Length: ATR length for calculating market volatility.
Smoothing: Choose RMA, SMA, EMA, or WMA for ATR smoothing.
Trade Amount: The capital allocated to a single trade.
Risk by Trade (%): Define how much of your trade capital is at risk per trade.
Transaction Fees: Input fees to ensure realistic calculations.
Take Profit (%): Specify your desired take-profit percentage.
Show Entry Stop Loss: Toggle visibility of the stop-loss line.
Show Entry Take Profit: Toggle visibility of the take-profit line.
Divergence for Many Indicators v4 Screener▋ INTRODUCTION:
The “Divergence for Many Indicators v4 Screener” is developed to provide an advanced monitoring solution for up to 24 symbols simultaneously. It efficiently collects signals from multiple symbols based on the “ Divergence for Many Indicators v4 ” and presents the output in an organized table. The table includes essential details starting with the symbol name, signal price, corresponding divergence indicator, and signal time.
_______________________
▋ CREDIT:
The divergence formula adapted from the “ Divergence for Many Indicators v4 ” script, originally created by @LonesomeTheBlue . Full credit to his work.
_______________________
▋ OVERVIEW:
The chart image can be considered an example of a recorded divergence signal that occurred in $BTCUSDT.
_______________________
▋ APPEARANCE:
The table can be displayed in three formats:
1. Full indicator name.
2. First letter of the indicator name.
3. Total number of divergences.
_______________________
▋ SIGNAL CONFIRMATION:
The table distinguishes signal confirmation by using three different colors:
1. Not-Confirmed (Orange): The signal is not confirmed yet, as the bar is still open.
2. Freshly Confirmed (Green): The signal was confirmed 1 or 2 bars ago.
3. Confirmed (Gray): The signal was confirmed 3 or more bars ago.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Table Settings
(1) Table location on the chart.
(2) Table’s cells size.
(3) Chart’s timezone.
(4) Sorting table.
- Signal: Sorts the table by the latest signals.
- None: Sorts the table based on the input order.
(5) Table’s colors.
(6) Signal Confirmation type color. Explained above in the SIGNAL CONFIRMATION section
Section(2): Divergence for Many Indicators v4 Settings
As seen on the Divergence for Many Indicators v4
* Explained above in the APPEARANCE section
Section(3): Symbols
(1) Enable/disable symbol in the screener.
(2) Entering a symbol.
_______________________
▋ FINAL COMMENTS:
For best performance, add the Screener indicator to an active symbol chart, such as QQQ, SPY, AAPL, BTCUSDT, ES, EURUSD, etc., and avoid mixing symbols from different market allocations.
The Divergence for Many Indicators v4 Screener indicator is not a primary tool for making trading decisions.